import ToolActionApi from "@/tool/http/tool-action.js";

let appInfoAction = ToolActionApi.init("function_app_info")

const rule = {
	queryParams: [],
	formOnChange: (watchForm) => {
		let tempArray = []
		return tempArray;
	},
	pageConfig: {},
	metaConfig: {},
	baseField: [{
		name: "id"
	}]
}

export default async function(metadata) {
	rule.metaConfig.app_info_id = {
		dictList: await appInfoAction.dict()
	}
	return rule;
}
